// vite.config.ts
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///D:/OneDrive/%E6%A1%8C%E9%9D%A2/medical-care/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/OneDrive/%E6%A1%8C%E9%9D%A2/medical-care/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import postcssPxtorem from "file:///D:/OneDrive/%E6%A1%8C%E9%9D%A2/medical-care/node_modules/postcss-pxtorem/index.js";
import { createSvgIconsPlugin } from "file:///D:/OneDrive/%E6%A1%8C%E9%9D%A2/medical-care/node_modules/vite-plugin-svg-icons/dist/index.mjs";
import path from "path";
var __vite_injected_original_import_meta_url = "file:///D:/OneDrive/%E6%A1%8C%E9%9D%A2/medical-care/vite.config.ts";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    createSvgIconsPlugin({
      // 指定图标文件夹，绝对路径（NODE代码）
      iconDirs: [path.resolve(process.cwd(), "src/")]
    })
  ],
  server: {
    host: true,
    port: 80
  },
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  css: {
    postcss: {
      plugins: [
        postcssPxtorem({
          rootValue: 37.5,
          propList: ["*"],
          mediaQuery: true,
          minPixelValue: 2
        })
      ]
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxPbmVEcml2ZVxcXFxcdTY4NENcdTk3NjJcXFxcbWVkaWNhbC1jYXJlXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJEOlxcXFxPbmVEcml2ZVxcXFxcdTY4NENcdTk3NjJcXFxcbWVkaWNhbC1jYXJlXFxcXHZpdGUuY29uZmlnLnRzXCI7Y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